import { Component, OnInit } from '@angular/core';

@Component({
    moduleId: module.id,
    selector: 'guide-power-boost-calculator',
    template: `
    <h2>Power Boost Calculator</h2>
    <div>Normal power: <input [(ngModel)]="power"></div>
    <div>Boost factor: <input [(ngModel)]="factor"></div>
    <p>
      Super Hero Power: {{power | guideEX: factor}}
    </p>
  `
})
export class PipesPowerBoostCalculatorComponent implements OnInit {
    power = 5;
    factor = 1;
    constructor() { }

    ngOnInit() { }
}